package edu.pitt.myptm;

public class ReadCommand extends MyCommand {
	public int getType() { return MyCommand.READ;}
	
	public boolean isReadCommand() {
		return true;
	}
	private String filename;
	private int id;
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String toString() {
		return this.getTransactionId()+": READ "+ filename + " " + id;
	}
}
